<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/inc/taglib.inc" %>
<%@ include file="/WEB-INF/inc/script.inc" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<base href="${base}">
    <title>中金通发行方后台 | 产品列表</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.css" rel="stylesheet">

	<!-- Data Tables -->
    <link href="css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
    <link href="css/plugins/dataTables/dataTables.responsive.css" rel="stylesheet">
    <link href="css/plugins/dataTables/dataTables.tableTools.min.css" rel="stylesheet">

    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">

    <link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet">

	<style type="text/css">
		.form-control[readonly]{
			background-color: #fff;
			opacity: 1;
		}
	</style>
</head>
<body>
    <div id="wrapper">
    	<!-- 左侧菜单 -->
        <jsp:include page="/WEB-INF/jsp/publisher/main-menu.jsp"></jsp:include>

        <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom">
        <!-- 头部工具栏区 -->
        <jsp:include page="/WEB-INF/jsp/common/main-header.jsp"></jsp:include>
        </div>
        <div class="row wrapper border-bottom white-bg page-heading">
             <div class="col-lg-10">
                 <h2>产品管理</h2>
                 <ol class="breadcrumb">
                     <li>
                         <a href="publisher/platform">Home</a>
                     </li>
                     <li>
                         <a href="publisher/product/list">产品管理</a>
                     </li>
                     <li class="active">
                         <a href="publisher/product/list"><strong>产品列表</strong></a>
                     </li>
                </ol>
               </div>
            <div class="col-lg-2">

            </div>
        </div>
		
		<div class="row" style="margin-top:10px;">
			<div class="col-md-12">
                 <div class="tabs-container">
                     <ul class="nav nav-tabs">
                        <li class="active">
							<a href="publisher/product/list">
								产品列表
							</a>
						</li>
                     </ul>
                  	 <div class="tab-content">
                   		<div class="tab-pane active">
                            <div class="panel-body">
                                 <div class="wrapper wrapper-content animated fadeInRight ecommerce">
						            <div class="ibox-content m-b-sm"><!-- border-bottom -->
						                <form id="queryForm" method="post">
							                <div class="row">
							                    <div class="col-sm-3">
							                        <div class="form-group">
							                            <label class="control-label" for="product_code">产品代码</label>
							                            <input type="text" id="product_code" name="productCode" value="" placeholder="产品代码" class="form-control">
							                        </div>
								                    </div>
								                    <div class="col-sm-3">
								                        <div class="form-group">
								                            <label class="control-label" for="brief_name">产品简称</label>
								                            <input type="text" id="brief_name" name="briefName" value="" placeholder="产品简称" class="form-control">
								                        </div>
								                    </div>
								                    <div class="col-sm-3">
								                        <div class="form-group">
								                            <label class="control-label" for="income_type">收益类型</label>
								                            <select class="form-control m-b" name="incomeType" >
								                                <option value="">所有</option>
								                                <option value="0">固定</option>
								                                <option value="1">浮动</option>
								                                <option value="2">固定+浮动</option>
								                            </select>
								                        </div>
								                    </div>
								                    <div class="col-sm-3">
								                        <div class="form-group">
								                            <label class="control-label" for="state">产品状态</label>
								                            <select class="form-control m-b" name="state" >
								                                <option value="">所有</option>
								                                <option value="1">正在募集中</option>
								                                <option value="2">募集完成</option>
								                            </select>
								                        </div>
								                    </div>
								                	<div class="col-sm-3">
								                        <div class="form-group">
								                            <label class="control-label" for="product_group_id">组别</label>
								                            <select class="form-control m-b" name="productGroupId" id="productGroupId">
								                                <option value="">所有</option>
								                                <c:forEach items="${productGroupList}" var="pg" varStatus="st">
																	<option value="${pg.id}" name="${pg.name}"> ${pg.name}</option>
																</c:forEach>
								                            </select>
								                        </div>
								                    </div>
							                    </div>
								                <div class="row">
								                	<div class="form-group">
								                         <div class="col-sm-4 col-sm-offset-5">
								                             <button class="btn btn-primary" id="queryBtn" type="button">查 询</button>
								                             <button class="btn btn-white" id="resetForm" type="reset">重 置</button>
								                         </div>
								                    </div>
								                </div>
										</form>
						            </div>
						            
						  			<div class="row">
						                <div class="col-lg-12">
						                    <div class="ibox float-e-margins">
						                        <div class="ibox-content">
						                            <table id="modelEditable" class="table table-striped table-bordered table-hover">
						                                <thead>
						                                <tr>
						                                    <th>产品代码</th>
						                                    <th>产品简称</th>
						                                    <th>投资期限</th>
						                                    <th>预期收益</th>
						                                    <th>收益类型</th>
						                                    <th>投资规模</th>
						                                    <th>已募集金额</th>
						                                    <th>产品状态</th>
						                                    <th>排序值</th>
						                                    <th>审核状态</th>
						                                    <th style="background-color:white;">操作</th>
						                                </tr>
						                                </thead>
						                                <tbody>
						
						                                </tbody>
						                            </table>
						
						                        </div>
						                    </div>
						                </div>
						            </div>
            
        							</div>
                                </div>
                            </div>
                            
                        </div>
                    </div>
                </div>
		</div>
		
        <!-- 底部版权 -->
        <jsp:include page="/WEB-INF/jsp/common/main-footer.jsp"></jsp:include>

        </div>
        </div>

    <!-- Mainly scripts -->
    <script src="js/jquery-2.1.1.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="js/plugins/jeditable/jquery.jeditable.js"></script>
	<script src="js/jquery.serialize-object.min.js" type="text/javascript"></script>
    <!-- Custom and plugin javascript -->
    <script src="js/inspinia.js"></script>
    <script src="js/plugins/pace/pace.min.js"></script>
	<script src="js/plugins/bootbox/bootbox.min.js" type="text/javascript"></script>
	<script src="js/jquery.tmpl.min.js" type="text/javascript"></script>

    <!-- Data Tables -->
    <script src="js/plugins/dataTables/jquery.dataTables.min.js"></script>
    <script src="js/plugins/dataTables/dataTables.bootstrap.js"></script>
    <script src="js/plugins/dataTables/dataTables.responsive.js"></script>
    <script src="js/plugins/dataTables/dataTables.tableTools.min.js"></script>
    
    <!-- 业务 -->
    <script src="js/publisher/product-module.js"></script>
    <script src="js/product/FormatUtils.js"></script>

    <!-- Page-Level Scripts -->
    <script>
        $(document).ready(function() {
			ProductModule.init();
        });

    </script>

</body>
</html>